//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package commands;

import common.ByteStream;

public class HarvestFieldGain extends LogicCommand {
    int CurrentId;

    public HarvestFieldGain(int tt, int CurrentId) {
        super(tt);
        this.CurrentId = CurrentId;
    }

    public int getCommandId() {
        return 22;
    }

    public void encode(ByteStream stream) {
        stream.writeInt(this.getCommandId());
        stream.writeInt(this.CurrentId);
        stream.writeInt(this.ticksWhenTouch().intValue());
    }
}
